package cn.hx.mall_goods.dao;

import cn.hx.mall_goods.entity.FlashPromotion;
import cn.hx.mall_goods.entity.PromotionProductRelation;
import cn.hx.mall_goods.entity.PromotionSession;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import java.util.List;

/**
 * 限时购表(FlashPromotion)表数据库访问层
 *
 * @author liufeng
 * @since 2022-12-01 10:58:56
 */
public interface FlashPromotionDao {

    FlashPromotion queryRecentOne();

    List<PromotionSession> getSecTime();

    List<PromotionProductRelation> getRelationList();

    FlashPromotion queryFlashPromotion(Long flashPromotionId);
}

